package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderRefundDao;
import com.appkubes.mall.core.entity.MallOrderRefund;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderRefundService extends AbstractBaseService<BaseMallOrderRefundDao, MallOrderRefund> {

    MallOrderRefund getOneByEntity(MallOrderRefund entity);

    List<MallOrderRefund> selectListByEntity(MallOrderRefund entity);

    IPage<MallOrderRefund> selectPageByEntity(IPage<MallOrderRefund> page);
    IPage<MallOrderRefund> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderRefund> selectPageByEntity(MallOrderRefund entity, IPage<MallOrderRefund> page);
    IPage<MallOrderRefund> selectPageByEntity(MallOrderRefund entity, PageVO pageVO);

    IPage<MallOrderRefund> selectPageByEntity(MallOrderRefund entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderRefund entity);
}
